Adwaita: No rounded corners for fullscreen
authorMatthias Clasen <mclasen@redhat.com>
Sun, 7 Feb 2016 17:00:29 +0000 (18:00 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 7 Feb 2016 17:00:29 +0000 (18:00 +0100)
If the theme has rounded corners for fullscreen, we don't tell the
window manager that we are now fully opaque, which then makes things
less efficient than they should be.

https://bugzilla.gnome.org//show_bug.cgi?id=761571

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 1e07337e31c80d3b933b85d3707a160352fbf8e9..9892e3f00a0985032a5ae83501415eb0a96892cc 100644 (file)
@@ -3555,6 +3555,7 @@ decoration {
                 0 0 0 1px $_wm_border_backdrop;
   }
 
+  .fullscreen &,
   .tiled & { border-radius: 0; }
 
   .popup & { box-shadow: none; }
index c8b86029925922eb37ae38d48f2d0631d7258428..cfc20dff1a827f07de67a4e4e20e18954b8a1f1f 100644 (file)
@@ -4307,7 +4307,7 @@ decoration {
      * change when we go to backdrop, to prevent jumping windows
      */
     box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 3px 9px 1px transparent, 0 0 0 1px rgba(28, 31, 31, 0.9); }
-  .tiled decoration {
+  .fullscreen decoration, .tiled decoration {
     border-radius: 0; }
   .popup decoration {
     box-shadow: none; }
index 02c4090e0390ac7f6df2f876ebd76d3f5fa0f71a..dfd27bf2f2fb642e5df6dec7f8d1eb321b1f42f2 100644 (file)
@@ -4448,7 +4448,7 @@ decoration {
      * change when we go to backdrop, to prevent jumping windows
      */
     box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 3px 9px 1px transparent, 0 0 0 1px rgba(0, 0, 0, 0.18); }
-  .tiled decoration {
+  .fullscreen decoration, .tiled decoration {
     border-radius: 0; }
   .popup decoration {
     box-shadow: none; }